/*var arr = ['Apple', 'pear', 'orange'];

console.log(arr.every(function (s) {
    return s.length > 0;}))
    */

var arr = ['apple','banana','orange']

console.log(arr.findIndex(function(s){
    return typeof s  === "string" ;
}));



